package com.hjrpc.babyyamall.product.feign;

import com.hjrpc.common.dto.SkuReductionTo;
import com.hjrpc.common.dto.SpuBoundTo;
import com.hjrpc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("babyyamall-ware")
public interface WareFeignService {

    @PostMapping("ware/waresku/hasStock/{skuId}")
    Boolean hasStock(@PathVariable("skuId") Long skuId);

}